<template>
  <div class="statistics">

    <div class="imgBox"><slot name="img"></slot></div>

    <div class="text">

      <slot name="header"></slot>
      <div class="Estatistics">
        <em> <slot name="subhead"></slot></em>
      </div>

    </div>

  </div>
</template>


<style scoped>
.statistics {
  width: 100%;
  display: flex;
  height:40px;
  align-items: flex-end;
  padding-left: 20px;

  .imgBox{
    display: flex;
    width:40px;
    height: 40px;
   margin-right: 20px;
  }
  .text {
    display: flex;
    width: 290px;
    font-size: 24px;
    line-height: 35px;
    border-bottom: 1px solid #fff;
    justify-content: space-between;

  }
  .Estatistics {
    height: 100%;
    em {
      font-size: 14px;
    }

  }

}
</style>
<script setup lang="ts">
</script>